package com.loong.news.common.forehead.param;

import com.loong.common.validator.group.CommonValidate;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * @Description:
 * @Author: 刘群
 * @Date: 2020/10/18 11:36
 */
@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class DeleteNewsCommentParam {
    /**
     * 评论的id
     */
    @NotNull(message = "删除评论时评论id不能为空",groups = {CommonValidate.class})
    private Long id;
    /**
     *评论的用户id
     */
    private Long userId;
}
